package routers

import (
	"github.com/astaxie/beego"
	"take-a-break/app/controllers/api"
)

func init() {
	//小程序登录
	beego.Router("/api/public/wxa_login", &api.LoginController{}, "post:WxaLogin")
	beego.Router("/api/public/wxa_register", &api.LoginController{}, "get:WxaRegister")

}
